<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			{{message}}
			<input type="text" v-model:value="message" value="haha"/>
			<input type="text" v-bind:value="message" @input="change"/>
		</div>
		<!-- js最后引入-->
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			let app=new Vue({
				el:('#app'),
				data:{
					message: 'hello',
				},
				methods:{
					change:function(){
						console.log(event);
						return event.target.value
					}
				}
			})
		</script>
	</body>
</html>
